	


*Change the directory to the location of the replication files on your computer
cd "C:\PCult_Replication"

*do "anes_clean.do"

use "anes_vars_2016.dta"

svyset [pweight=V160102], strata(V160201) psu(V160202)

**Descriptive statistics


***[data column 4 Table 1]
summarize TrumpCult90 TrumpIndex_S2 Agreeableness1 Conscientiousness1 Extraversion1 Stability1 Openness1  ConservativePRE1 Tradition Authoritarian Dominance White Female Republican Over44 HighSchoolLess Church  LeftRight if ConservativePRE1~=. & Openness1~=. & Extraversion1~=. & Agreeableness1 ~=. & Conscientiousness1 ~=. & Stability1~=., separator(0)


***[data column 5 Table 1]
 svy: mean TrumpCult90 TrumpIndex_S2 Agreeableness1 Conscientiousness1 Extraversion1 Stability1 Openness1  ConservativePRE1 Tradition Authoritarian Dominance White Female Republican Over44 HighSchoolLess Church  LeftRight if ConservativePRE1~=. & Openness1~=. & Extraversion1~=. & Agreeableness1 ~=. & Conscientiousness1 ~=. & Stability1~=.

svy: mean TrumpIndex_S2 if ConservativePRE1~=. & Openness1~=. & Extraversion1~=. & Agreeableness1 ~=. & Conscientiousness1 ~=. & Stability1~=.
estat sd

svyset [pweight=V160102]
 
 
***[data column 6 Table 1]
 svy: mean TrumpCult90 TrumpIndex_S2 Agreeableness1 Conscientiousness1 Extraversion1 Stability1 Openness1  ConservativePRE1 Tradition Authoritarian Dominance White Female Republican Over44 HighSchoolLess Church  LeftRight if TrumpIndex_S2> .3226153 & TrumpIndex_S2~=.
 